#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
void my_strlen(char* p)
{
  char* start = p;
 while(*p!='\0')
 {
   p++;
 }
 printf("%d\n",p-start);
}
char main()
{
	char arr[10]="asgijgd";
	char* p = arr;
	my_strlen(p);
    return 0;
}